/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.klikmee.sms.core.base.dao;

import java.util.List;

import com.klikmee.sms.core.model.IncomingMessage;
import com.klikmee.sms.core.model.Service;

/**
 *
 * @author makcro
 */
public interface IncomingMessageFacadeLocal {

    void create( IncomingMessage incomingMessage );

    void edit( IncomingMessage incomingMessage );

    void remove( IncomingMessage incomingMessage );

    IncomingMessage find( Object id );

    List<IncomingMessage> findAll();

    List<IncomingMessage> findRange( int[] range );

    int count();

    public java.util.List<IncomingMessage> findByStateAndProvider( java.lang.Integer state, java.lang.String providerName );

    public java.util.List<IncomingMessage> findByStateAndService( java.lang.Integer state, Service service );

}
